﻿<h4>Autofocus</h4>
<p>Commented out to prevent page actually jumping to this location. See example code on 'Razor'-tab for implementation.</p>
@*<FluentNumberField TValue="int?" Autofocus="true">autofocus</FluentNumberField>*@

<h4>Focus Async</h4>
<p style="display:flex">
    <FluentButton @onclick="() => focusTest!.FocusAsync()">FocusAsync</FluentButton>
    <FluentNumberField @ref=focusTest @bind-Value=value></FluentNumberField>
</p>

@code {
    FluentNumberField<int?>? focusTest;
    int? value;
}
